home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_objc.idb / usr / freeware / lib32 / objchelp.txt.z / objchelp.txt
Encoding:
Text File  |  1999-07-16  |  4.5 KB  |  93 lines

  1.  
  2. Usage: objc [ options ] infile -o outfile
  3.  
  4. Options:
  5. @filename        # use options listed in "filename"
  6. @envname         # use options set in env.variable
  7. -appl            # add flags for linking a MacOS app
  8. -Bdir            # set OBJCDIR to dir
  9. -C               # same as -Fi, unless used with -E to preserve comments
  10. -Dsymbol         # define preprocessor symbol
  11. -errout file     # redirect stderr to file
  12. -Ipath           # add path to include search path
  13. -O               # turn on optimization
  14. -Fletter         # stop at compilation phase identified by letter
  15. -objc            # compile C files as Objective-C
  16. -import          # allow  #import and // comments (if supported)
  17. -Usymbol         # undefine preprocessor symbol
  18. -Wletter,option  # pass option to tool (p cpp, c cc, o objc1, l ld)
  19. -Wletter:option  # pass option to tool (p cpp, c cc, o objc1, l ld)
  20. -Wall            # turn on all warnings
  21. -c               # do not link and produce a .o file (-Fo)
  22. -check           # (objc.exe only) print commands without executing
  23. -dl              # combine objects into a dynamic module (shared library)
  24. -dollars         # allow $ in identifiers (if supported by C compiler)
  25. -dynamic         # mark symbols in program as exportable to dynamic modules
  26. -export spec     # emit 'spec' for class globals and bind functions
  27. -g               # add debug information
  28. -i               # do not link and produce a .j tdf file (tcc -Fj)
  29. -jfoo            # add TDF library foo.tl
  30. -Jdir            # add dir to search path for TDF libraries
  31. -lfoo            # add library libfoo.a
  32. -Ldir            # add dir to search path for libraries
  33. -gc              # use garbage collecting memory allocation
  34. -help            # print this message
  35. -inlineCache     # generate code for inline cache messenger
  36. -main fun        # use fun as main function (default is main())
  37. -mpwtool         # add flags for linking an MPW tool
  38. -noBlocks        # turn off compiler support for Objective-C blocks
  39. -noCache         # turn off global messenger cache (differs from inlineCache)
  40. -noFiler         # do not generate filer code; do not link AsciiFiler
  41. -noFwd           # use the C messenger without support for forwarding msgs
  42. -noI             # do not search standard objc headers
  43. -noLibs          # do not link against standard objc libraries
  44. -noPostLink      # generate code for automatic objcrt initialization
  45. -noSelfAssign    # do not allow self as left-hand-side in assignments
  46. -noCategories    # do not allow categories (and use +addMethodsTo: instead)
  47. -noTags          # do not generate line tags
  48. -noNilRcvr       # do not allow nil to be receiver of messages
  49. -nostdinc        # do not search standard system headers
  50. -opt arg         # MPW optimization options
  51. -pic             # position independent code for shlibs or dynamic modules
  52. -ppi             # Stepstone/PPI compatibility mode
  53. -postLink        # generate code for postlink objcrt initialization
  54. -prod            # combine .j tdf files into a .ta tdf archive
  55. -q               # suppress copyright
  56. -s               # (WATCOM) Remove stack overflow checks
  57. -retain          # do not remove intermediate files
  58. -refcnt          # generate code for reference counts
  59. -sioux           # add flags for linking a Metrowerks SIOUX app
  60. -static          # link static libraries
  61. -sym arg         # MPW enable/disable debugging information
  62. -Tprefix         # prefix for temporary files such as -T/tmp/
  63. -unbuf           # turn off stream buffering for code generation
  64. -undef           # undefine standard system preprocessor symbols
  65. -verbose         # print commands that are being executed
  66. -version         # print compiler version
  67. -w               # turn off all warnings
  68. -xm arg          # MPW linker options
  69. -Yenv            # (tcc) -Yansi for ansi environment, -Yposix, -Yunix95 etc.
  70. -3r              # (WATCOM) 386 register calling conventions
  71. -3s              # (WATCOM) 386 stack calling conventions
  72.  
  73. Extensions:
  74. m                # Objective-C source file
  75. c                # C source file
  76. i                # preprocessed C source file
  77. j                # target independent TDF capsule
  78. t                # target dependent TDF capsule
  79. o (obj)          # object file
  80. a (lib)          # library (archive)
  81. ta               # TDF archive
  82. mm               # Objective-C++ source file
  83. cc               # C++ source file
  84. ii               # preprocessed C++ source file
  85.  
  86. Environment:
  87. TMPDIR           # temporary files
  88. OBJCDIR          # top directory for finding resources
  89. OBJCOPT          # options always prepended to cmd line options
  90. OBJCRTMSG        # file for message tracing
  91. OBJCRTDBG        # file for dbg() output
  92.  
  93.